<template>
    <div style="background-color: white">
        <div>
            <router-view></router-view>
        </div>
        <van-tabbar v-model="active">
            <van-tabbar-item icon="home-o">
                <router-link to="adminHome">首页</router-link>
            </van-tabbar-item>
            <van-tabbar-item icon="setting-o">
                <router-link to="adminCenter">系统</router-link>
            </van-tabbar-item>
        </van-tabbar>
    </div>
</template>

<script>
    export default {
        name: "adminLayout",
        data() {
            return {
                active: 0
            }

        }
    }
</script>

<style scoped>

</style>
